package net.lahuobao.finance.entity.transferrecord;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 转账记录
 * @author zhangdaihao
 * @date 2016-09-19 17:05:52
 * @version V1.0   
 *
 */
@Entity
@Table(name = "transfer_record", schema = "lahuobao")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class TransferRecordEntity implements java.io.Serializable {
	/**主键*/
	private Integer transferRecordId;
	/**account_record_id*/
	private Integer accountRecordId;
	/**账户名*/
	private String bankAccountName;
	/**银行账号*/
	private String bankCardNo;
	/**银行类型*/
	private String bankType;
	/**金额*/
	private BigDecimal amount;
	/**操作时间*/
	private Date operateTime;
	/**备注1*/
	private String note;
	/**备注2*/
	private String note1;
	/**省*/
	private String province;
	/**市*/
	private String city;
	/**开户行地址*/
	private String address;
	
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  主键
	 */
	@Id
	@Column(name ="TRANSFER_RECORD_ID",nullable=false,precision=10,scale=0)
	public Integer getTransferRecordId(){
		return this.transferRecordId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  主键
	 */
	public void setTransferRecordId(Integer transferRecordId){
		this.transferRecordId = transferRecordId;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  account_record_id
	 */
	@Column(name ="ACCOUNT_RECORD_ID",nullable=false,precision=10,scale=0)
	public Integer getAccountRecordId(){
		return this.accountRecordId;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  account_record_id
	 */
	public void setAccountRecordId(Integer accountRecordId){
		this.accountRecordId = accountRecordId;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  账户名
	 */
	@Column(name ="BANK_ACCOUNT_NAME",nullable=false,length=50)
	public String getBankAccountName(){
		return this.bankAccountName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  账户名
	 */
	public void setBankAccountName(String bankAccountName){
		this.bankAccountName = bankAccountName;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  银行账号
	 */
	@Column(name ="BANK_CARD_NO",nullable=false,length=30)
	public String getBankCardNo(){
		return this.bankCardNo;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  银行账号
	 */
	public void setBankCardNo(String bankCardNo){
		this.bankCardNo = bankCardNo;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  银行类型
	 */
	@Column(name ="BANK_TYPE",nullable=false,length=40)
	public String getBankType(){
		return this.bankType;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  银行类型
	 */
	public void setBankType(String bankType){
		this.bankType = bankType;
	}
	/**
	 *方法: 取得BigDecimal
	 *@return: BigDecimal  金额
	 */
	@Column(name ="AMOUNT",nullable=false,precision=11,scale=2)
	public BigDecimal getAmount(){
		return this.amount;
	}

	/**
	 *方法: 设置BigDecimal
	 *@param: BigDecimal  金额
	 */
	public void setAmount(BigDecimal amount){
		this.amount = amount;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  操作时间
	 */
	@Column(name ="OPERATE_TIME",nullable=false)
	public Date getOperateTime(){
		return this.operateTime;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  操作时间
	 */
	public void setOperateTime(Date operateTime){
		this.operateTime = operateTime;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  备注1
	 */
	@Column(name ="NOTE",nullable=true,length=2000)
	public String getNote(){
		return this.note;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  备注1
	 */
	public void setNote(String note){
		this.note = note;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  备注2
	 */
	@Column(name ="NOTE1",nullable=true,length=2000)
	public String getNote1(){
		return this.note1;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  备注2
	 */
	public void setNote1(String note1){
		this.note1 = note1;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  省
	 */
	@Column(name ="PROVINCE",nullable=true,length=100)
	public String getProvince(){
		return this.province;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  省
	 */
	public void setProvince(String province){
		this.province = province;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  市
	 */
	@Column(name ="CITY",nullable=true,length=100)
	public String getCity(){
		return this.city;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  市
	 */
	public void setCity(String city){
		this.city = city;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  开户行地址
	 */
	@Column(name ="ADDRESS",nullable=true,length=100)
	public String getAddress(){
		return this.address;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  开户行地址
	 */
	public void setAddress(String address){
		this.address = address;
	}
}
